<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<style type="text/css">
.verifyPsd_easy{width:0px;height:16px;margin-top:6px;margin-left:10px;background-color:#ff6633;text-align:center;line-height:16px;font-size:10px;color:white; font-family:"宋体"}
.verifyPsd_middle{width:0px;height:16px;margin-top:6px;margin-left:10px;background-color:#ffcc33;text-align:center;line-height:16px;font-size:10px;color:white; font-family:"宋体"}
.verifyPsd_hard{width:0px;height:16px;margin-top:6px;margin-left:10px;background-color:#339933;text-align:center;line-height:16px;font-size:10px;color:white; font-family:"宋体"}
</style>

<form:form id="addform" class="easyui-form" style="padding:20px 25px 5px 25px">
<input type="hidden" id="id" name="id">
<input type="hidden" id="hprovinceId" name="hprovinceId">
<input type="hidden" id="hcityId" name="hcityId">
<input type="hidden" id="hdistrictId" name="hdistrictId">

 <table class="show-information">
   <tr>
        <td><span>名称:</span></td>
        <td><input id="name" style="width:200px;height:32px" type="text" name="name" class="easyui-textbox" data-options="required:true,missingMessage:'名称必须填写'"></input></td>
   </tr>
   <tr>
        <td><span>编码:</span></td>
        <td>
        <input id="code" style="width:200px;height:32px" type="text" name="code" class="easyui-textbox" data-options="required:true,missingMessage:'名称必须填写'"></input></td>
   </tr>
   <tr>
        <td><span>类型:</span></td>
        <td>
        <input class="easyui-combobox" 
			            id="type" name="type" onchange="getTypeSon();" data-options="required:true,missingMessage:'类型必须填写'"></td>
   </tr>
   <tr>
        <td><span>子类型:</span></td>
        <td>
        <input class="easyui-combobox" 
			            id="typeSon" name="typeSon" ></td>
   </tr>
   <tr>
   		<td><span>经度:</span></td>
        <td><input id="latitude" style="width:200px;height:32px" type="text"  name="latitude"  class="easyui-numberbox" data-options="required:true,precision:6"></input></td>
   </tr>
   <tr>
        <td><span>纬度:</span></td>
        <td><input id="longitude" style="width:200px;height:32px" type="text" name="longitude" class="easyui-numberbox" data-options="required:true,precision:6"></input></td>
   </tr>
   <tr>
        <td><span>省:</span></td>
        <td>
        <input class="easyui-combobox" 
			            id="provinceId" name="provinceId" onchange="getCity();" data-options="required:true,missingMessage:'省份必须填写'"></td>
   </tr>
   <tr>
        <td><span>市:</span></td>
        <td>
        <input class="easyui-combobox" 
			            id="cityId" name="cityId" onchange="getDistrict();"  data-options="required:true,missingMessage:'市必须填写'"></td>
   </tr>
   <tr>
        <td><span>区:</span></td>
        <td>
        <input class="easyui-combobox" 
			            id="districtId" name="districtId" data-options="required:true,missingMessage:'区必须填写'"></td>
   </tr>
   <tr>
   		<td><span>地址:</span></td>
        <td><input id="address" type="text" name="address" class="easyui-textbox" data-options="multiline:true,width:300,height:50,"></input></td>
   </tr>
   <tr>
   		<td><span>备注:</span></td>
        <td><input id="remark" type="text" name="remark" class="easyui-textbox" data-options="multiline:true,width:300,height:50,"></input></td>
   </tr>
</table>
</form:form>
<script type="text/javascript" src="<c:url value='/scripts/web/data/station/add.js'/>"></script>
<script type="text/javascript" src="<c:url value='/scripts/web/data/area/area.js'/>"></script>